// mircoApp/competitionApply/comm/resultItem/resultItem.js
Component({

  /**
   * 组件的属性列表
   */
  options: {
    addGlobalClass: true,
  },
  properties: {
    itemObj:{
      type:Object,
      value:{}
    }
  },

  /**
   * 组件的初始数据
   */
  data: {

  },

  /**
   * 组件的方法列表
   */
  methods: {
    goodsTo(event) { //跳转增值服务商品
      let {itemobj} = event.currentTarget.dataset;
      console.log('2222222',itemobj);
      wx.navigateTo({
        url: `/packageA/detail_v2/detail_v2?id=${itemobj.event_registration_goods.value_added_goods_id}`,
      })
    },
    examineClick(event) {
      let {itemobj} = event.currentTarget.dataset;
      console.log('2222222');
      this.triggerEvent('examineClick', {item:itemobj})
    }
  }
})